package com.csdig.cms.dao;

import java.util.List;

import com.csdig.db.model.Pagination;
import com.csdig.cms.model.ContentImg;

public interface ContentImgDAO {

	public void add(ContentImg vo) throws Exception;

	public void update(ContentImg vo) throws Exception;

	public List<ContentImg> listAll() throws Exception;

	public Pagination<ContentImg> findByCondition(ContentImg vo, int pageNo, int pageSize) throws Exception;

	public List<ContentImg> findByCondition(ContentImg bean) throws Exception;

	public List<ContentImg> findByCovertUrl(String convertUrl) throws Exception;

	public List<ContentImg> findByContentId(Integer contentId) throws Exception;

	public void del(Integer contentId) throws Exception;
}
